import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '账号',
    align: "center",
    dataIndex: 'account'
  },
  {
    title: '密码',
    align: "center",
    dataIndex: 'password'
  },
  {
    title: '所属学科',
    align: "center",
    dataIndex: 'subjectId_dictText'
  },
  {
    title: '最近登录时间',
    align: "center",
    dataIndex: 'latestLoginTime'
  },
];

// 高级查询数据
export const superQuerySchema = {
  account: {title: '账号',order: 0,view: 'text', type: 'string',},
  password: {title: '密码',order: 1,view: 'text', type: 'string',},
  subjectId: {title: '所属学科',order: 2,view: 'list', type: 'string',dictTable: "t_subject", dictCode: 'id', dictText: 'subject_name',},
  latestLoginTime: {title: '最近登录时间',order: 3,view: 'datetime', type: 'string',},
};
